﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.fmtx.Model;

namespace com.fmtx.IDal
{
    public interface IKeyWord :IBase<KeyWord>
    {
        /// <summary>
        /// 判断是否存在该词存在++不存在添加
        /// </summary>
        /// <param name="keyword"></param>
        /// <returns></returns>
        bool IsExists(string keyword,Target tag);
        /// <summary>
        /// 获取热门关键字
        /// </summary>
        /// <param name="size"></param>
        /// <returns></returns>
        IList<KeyWord> QueryHost(int size,Target tag);
    }
}
